Intersoft WebTextEditor Documentation
Custom Task Pane
See Also Send Feedback
Intersoft WebTextEditor > WebTextEditor > Task Pane > Custom Task Pane

Glossary Item Box

WebTextEditor provides three built-in pane modes: Media Gallery, Table Designer, and Form Control. However in certain scenarios, custom pane mode might need to be implemented. In this case, developers can utilize the extensible pane interface to create their own custom pane mode in Task Pane.

To create a custom pane mode, developer need to create a pane content class that is inherited from TaskPaneContent object and assign a unique ID to the class.

Javascript Copy Code
function EmoticonPane()
{
TaskPaneContent.call(this); //inherit from TaskPaneContent object
this .Id = "Emoticon";
}

 

Several properties can be specified for the custom pane content: 

 

Besides the properties, several interfaces can also be implemented:

After the custom pane object is ready, it should be registered in WebTextEditor using RegisterPaneContent function. The custom pane object should be registered when WebTextEditor is initialized, in OnInitialize client-side event.

The custom pane is ready to use. To open the custom pane, developer could add custom command in main toolbar and open Task Pane when the command is clicked.

In This Section

Walkthrough: Creating Custom Task Pane Content

See Also

©2013. All Rights Reserved.